Comparing Document Object Model (DOM) and Simple API for XML (SAX) in Processing XML Document in Leave Application System
نویسنده
چکیده
The Extensible Markup Language (XML) consists of two Application Programming Interface (API) i.e. Document Object Model (DOM) and Simple Application of XML (SAX). Previous research has used the DOM API in the Leave Application prototype. In this research, the DOM API based code that developed in the prototype will be changed to SAX API based code. The performance measurement then is carried out to evaluate the used of DOM API and SAX API in the prototype. The evaluation process took place within in each API and also combination of both APIs. From the evaluation process, it was concluded that the use of combination of SAX based code in Domino Workflow environment and DOM based code in Microsoft Exchange 2000 Server produces the lowest processing time that will increase the performance of the leave Application system.
منابع مشابه
Processing XML: a rewriting system approach
Nowadays XML processing is performed using one of two approaches: using the SAX (Simple API for XML) or using the DOM (Document Object Model). While these two approaches are adequate for most cases there are situations where other approaches can make the solution easier to write, read and, therefore, to maintain. This document presents a rewriting approach for XML documents processing, focusing...
متن کاملSecurity Based Heuristic SAX for XML Parsing
XML based services integrate information resources running on different platforms or technologies to enhance the service efficiency. Thus, the volume of XML traffic on networks is increasing rapidly, and it demands for efficient XML processing algorithms to support high performance services, especially in XML security applications. This paper proposes a memory efficient XML parsing algorithm le...
متن کاملStatic Analysis for Event-Based XML Processing
Event-based processing of XML data – as exemplified by the popular SAX framework – is a powerful alternative to using W3C’s DOM or similar tree-based APIs. The event-based approach is particularly superior when processing large XML documents in a streaming fashion with minimal memory consumption. This paper discusses challenges and presents some considerations for creating program analyses for ...
متن کاملProcessing XML for Domain Specific Languages
XML is a standard and universal language for representing information. XML processing is supported by two key frameworks: DOM and SAX. SAX is efficient, but leaves the developer to encode much of the processing. This paper introduces a language for expressing XML-based languages via grammars that can be used to process XML documents and synthesize arbitrary values. The language is declarative a...
متن کاملPerformance Analysis of XML APIs
XML, as a data interchange technology, delivers key advantages in interoperability due to its flexibility, expressiveness, and platform-neutrality. The broad range of applications and growing base of users for XML technologies has driven the development of common tooling, providing a consistent, robust infrastructure on which to build applications. These advantages have spurred widespread adopt...
متن کامل